package cn.ssms.service;

import java.io.IOException;

import cn.ssms.model.Image;
public interface ImageUploadService {
	//添加原始值
	public boolean addImage(Image img);
	//修改有效地址
	public void updateImage(Image imageNewUrl);
	//通过原始URL，查询一条数据
	public Image selectOneImageToId(String imgUrl);
	//上传图片到七牛云
	public  String imageQiNiuUrl(String url,String imgName,String bucket) throws IOException;


}
